import React,{Component}from "react"
import "./index.css"
import {HashRouter,BrowserRouter,MemoryRouter,Route,Link,Switch,Prompt,Redirect,NavLink,} from "react-router-dom"
class Footer extends Component{
    constructor(props){
        super(props)        
    }
    render(){
        return (
            <div className="foot">
              <ul>
                  <li onClick={()=>{this.props.change_flag()}} ><NavLink exact activeClassName="select"  to="/" ><i className="fa fa-home"></i>首页</NavLink></li>
                  <li><NavLink exact activeClassName="select"  to={{pathname:"/Exchange"}}><i className="fa fa-list-ul"></i>提货兑换</NavLink></li>
                  <li><NavLink exact activeClassName="select"  to={{pathname:"/Buycart"}}><i className="fa fa-cart-plus"></i>购物车</NavLink></li>
                  <li><NavLink exact activeClassName="select"  to={{pathname:"/Member"}}><i className="fa fa-user-o"></i>会员中心</NavLink></li>
              </ul>
            </div>
        )
    }
}
export default Footer